package org.ch00.test04.demo07.demo02;

/**
 * @author CSY
 * @date 2025 - 03 - 04
 */
public class MainTest {
    public static void main(String[] args) {
        Door d = new IronDoor();

        SecurityDoor sd = new SecurityDoor();

        User u = new User();
        //u.openDoor(d);

        Thief t = new Thief();

        t.steal(sd);

        t.steal(d);

    }
}
